package Builder;

/**
 * @author duanzhizhou
 * @date 2024/10/10
 */
public class Director {
    
    private final Builder builder;
    
    public Director(Builder builder) {
        this.builder = builder;
    }
    
    public Product create() {
        return builder.setA("A").setB("B").setC("C").setD("D").build();
    }
}
